import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Element from 'element-ui'
Vue.use(Element)

import './assets/css/global.css'
import store from './store'
import global from './globalFun'
import dayjs from '@/assets/js/dayjs.min'

import request from './axios'
Vue.prototype.$axios = request
Vue.config.productionTip = false

Vue.filter('dateFilter', function (val) {
  return dayjs(val).format('YYYY-MM-DD HH:mm:ss')
})


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

